package com.weasel.weixin.commons.message.bean.initiative;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Created by Dylan on 2015/10/19.
 */
public class VoiceCustomInitiativeMessage extends AbstractCustomInitiativeMessage {


    @JsonProperty("voice")
    private Voice voice;

    public VoiceCustomInitiativeMessage() {
        super("voice");
    }

    public Voice getVoice() {
        return voice;
    }

    public void setVoice(Voice voice) {
        this.voice = voice;
    }

    public static class Voice{

        @JsonProperty("media_id")
        private String mediaId; //发送的图片/语音/视频的媒体ID

        public String getMediaId() {
            return mediaId;
        }

        public void setMediaId(String mediaId) {
            this.mediaId = mediaId;
        }
    }
}
